﻿namespace demo09_全局变量与局部变量
{
    internal class Program
    {
        //全局变量 成员变量
        const int num = 20;
        static void Main(string[] args)
        {
            int i = 10;
            Console.WriteLine("Hello, World!");
            Console.WriteLine(num);
        }

        static void demo()
        {
            Console.WriteLine("demo");
            Console.WriteLine(num);
        }
    }
}
